Example

The diagram in figure ??[rotate and flips] illustrates many of the effects described above as well as some additional ones defined by the |color| and |rotate| extensions.


\begin{code}
\UseCrayolaColors
\begin{displaymath}\xy\drop[*1.25]\xybox{\POS
(0,...
...{special effect: aligned text}
*[red]\frm{.}
}\endxy\end{displaymath}\end{code}

Figure: Rotations, scalings and flips
??=[rotate and flips]


\begin{exercise}
Suggest the code used by the author to typeset ??[rotate and fl...
...is how the author specified the diagram:}
\answertext\displaycode
\end{exercise}

The actual code is given in the solution to the exercise. Use it as a test of the capabilities of your DVI-driver. The labels should fit snugly inside the accompanying rectangles, rotated and flipped appropriately.

: This figure also uses colours, alters line-thickness and includes some drawing. The colours may print as shades of gray, with the line from A to B being thicker than normal. The wider band sloping downwards may have different width and length according to the DVI-driver used.

2